from typing import Optional

from django import forms

from django.contrib.auth.forms import UserCreationForm
from server.apps.accounts.models import CustomUser


class CustomUserCreationForm(UserCreationForm):
    class Meta(UserCreationForm.Meta):
        model = CustomUser
        fields = ('email',)
